package com.dup.algms;

import com.dup.factory.MatchAlgmsFactory;
import com.dup.interfaces.MatchEx;

public class StdJaroWinkler implements MatchEx {

	MatchEx m1, m2;
	@Override
	public boolean machWithWord(String oldStr, String newStr) {
		m1 = MatchAlgmsFactory.getMatchInstance("std_perfect");
		m1.machWithWord(oldStr, newStr);
		m2 = MatchAlgmsFactory.getMatchInstance("jaro_winkler");
		m2.machWithWord(oldStr, newStr);
		return false;
	}

}
